package com.yehuishou.service;

import java.util.List;

import com.yehuishou.pojo.Address;
import com.yehuishou.pojo.Erwm;
import com.yehuishou.pojo.Identity;
import com.yehuishou.pojo.User;

public interface UserService {

	List<User> findBy(String phone, Integer state);

	List<User> findAll();

	User findById(Integer uid);

	Address findAds(Integer uid);

	Identity findIde(Integer uid);

	void updateU(Integer uid, Integer state);

	void updateI(Integer uid, Integer istate);

	List<User> findByW(String phone);

	void del(Integer uid);

	Erwm findErwm(Integer uid);

}
